filechooser: Use macros
authorBenjamin Otte <otte@redhat.com>
Mon, 21 Jan 2013 02:14:14 +0000 (03:14 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 24 Jan 2013 13:28:57 +0000 (14:28 +0100)
Thanks for not letting me catch that place when I was greeping...

gtk/gtkfilechooserdefault.c

index 71309fd04fe4971781de709e1d76e8d31714cfbd..8fcc25f2924317870a5390d4854fb7d65dfae612 100644 (file)
@@ -6074,8 +6074,8 @@ save_dialog_geometry (GtkFileChooserDefault *impl)
   gtk_window_get_position (toplevel, &x, &y);
   gtk_window_get_size (toplevel, &width, &height);
 
-  g_settings_set (impl->settings, "window-position", "(ii)", x, y);
-  g_settings_set (impl->settings, "window-size", "(ii)", width, height);
+  g_settings_set (impl->settings, SETTINGS_KEY_WINDOW_POSITION, "(ii)", x, y);
+  g_settings_set (impl->settings, SETTINGS_KEY_WINDOW_SIZE, "(ii)", width, height);
 }
 
 static void